﻿<%@ Page Title="Bill's Detail" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="BillDetail.aspx.cs" Inherits="BillDetails" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <%--<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
    Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="685px">
    <LocalReport ReportPath="Report1.rdlc">
        <DataSources>
            <rsweb:ReportDataSource DataSourceId="ObjectDataSource2" Name="DataSet1" />
        </DataSources>
    </LocalReport>
</rsweb:ReportViewer>
<asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
    SelectMethod="GetData" 
    TypeName="Nhom7DataSetTableAdapters.BillDetail_AllTableAdapter">
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    SelectMethod="GetData" 
    TypeName="Nhom7DataSetTableAdapters.ThanhToanTableAdapter">
</asp:ObjectDataSource>--%>

<asp:Label ID="lblTitle" runat="server" CssClass="title" />
<asp:GridView runat="server" ID="grid" CssClass="items" AutoGenerateColumns="false"
            DataKeyNames="MaHH" GridLines="None">
            <AlternatingRowStyle CssClass="itemsalt" />
            <Columns>
                <asp:BoundField DataField="TenHH" HeaderText="Name" ReadOnly="True" ItemStyle-CssClass="name"  ItemStyle-Width="400px"/>
                <asp:BoundField DataField="Price" HeaderText="Price" ReadOnly="true" ItemStyle-CssClass="small" ItemStyle-Width="30px"
                     />
               <asp:BoundField DataField="Date" HeaderText="Date Added" ReadOnly="true" ItemStyle-CssClass="small" ItemStyle-Width="230px"
                     />
            </Columns>
        </asp:GridView>
        <div class="total">
                <asp:Label ID="Label1" Text="Sum: " runat="server" />
                <asp:Label ID="lblTotal" Text="" runat="server" EnableViewState="false" CssClass="cartTotal" />
            </div>
</asp:Content>

